# Description: Çekirdek DRM servislerine kullanıcı alanı arayüzü.
# URL: http://dri.freedesktop.org/
# Packager: milisarge
# Depends on: docbook-xsl libxslt xorg-util-macros xorg-libpciaccess 

_name=libdrm
name=xorg-libdrm
version=2.4.66
release=1
source=( http://dri.freedesktop.org/${_name}/${_name}-$version.tar.bz2)

build() {
cd ${_name}-$version
sed -e "/pthread-stubs/d" -i configure.ac
autoreconf -fiv
./configure --prefix=/usr \
--enable-udev \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
make DESTDIR=$PKG install
}
